package yu.com

import org.junit.Test
import yu.com.time.DateTimes
import yu.com.time.Dates
import yu.com.time.format


class HelloTest {

    @Test
    fun test() {
        println("格式化")
        println(Dates.today.format("yyyy"))
        println("解析")
        println(DateTimes.parse("2018-08-25", DateTimes.getPattern("2018-08-25")))
    }

}